package com.ruoyi.classai.domain.vo.resource;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 资源详情信息视图对象
 *
 * @author lcj
 * @date 2025-03-16
 */
@Data
@Schema(description = "资源详情信息视图对象")
public class EwcResourceDetailsVo {

    /**
     * ID
     */
    @Schema(description = "ID")
    private String id;

    /**
     * 资源ID
     */
    @Schema(description = "资源ID")
    private String resourceId;

    /**
     * 资源地址
     */
    @Schema(description = "资源地址")
    private String resourceUrl;

    /**
     * 资源名称
     */
    @Schema(description = "资源名称")
    private String resourceName;

    /**
     * 资源详情
     */
    @Schema(description = "资源详情")
    private String resourceDetails;

    /**
     * 文件后缀
     */
    @Schema(description = "文件后缀")
    private String fileDetails;

    /**
     * 文件类型
     */
    @Schema(description = "文件类型:0图片，1视频，2音频")
    private Integer fileType;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private Date updateTime;
}